<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('classify/index')}">分类列表</a></li>
			<li><a href="{:U('classify/add')}">新增分类</a></li>
		</ul>
		<form method="post" class="js-ajax-form" action="{:U('classify/listorders')}">
			<div class="table-actions">
				<button type="submit" class="btn btn-primary btn-small js-ajax-submit">{:L('SORT')}</button>
			</div>
			<php> $status=array("1"=>L('DISPLAY'),"0"=>L('HIDDEN')); </php>
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>

						<th width="50">{:L('SORT')}</th>
						<!--<th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>-->
						<th width="50">ID</th>
						<th>分类名称</th>
						<!--<th>排序值</th>-->
						<th width="100">创建时间</th>
						<!--<th width="100">更新时间</th>-->
						<th width="120">{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="classifys" item="vo">
					<tr>
						<!--<td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}"></td>-->
						<td><input name='listorders[{$vo.id}]' type='text' size='3' value='{$vo.listorder}' class='input input-order'></td>
						<td>{$vo.id}</td>
						<td>{$vo.name}</td>
						<!--<td>{$vo.sort_order}</td>-->
						<td>{:date('Y-m-d H:i',strtotime($vo['create_time']))}</td>
						<!--<td>{:date('Y-m-d H:i',strtotime($vo['update_time']))}</td>-->
						<td>
							<a href="{:U('classify/edit',array('id'=>$vo['id']))}">{:L('EDIT')}</a> |
							<a href="{:U('classify/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
						</td>
					</tr>
					</foreach>
				</tbody>
				<tfoot>
					<tr>
						<th width="50">{:L('SORT')}</th>
						<th width="50">ID</th>
						<th>分类名称</th>
						<!--<th>排序值</th>-->
						<th width="100">创建时间</th>
						<!--<th width="100">更新时间</th>-->
						<th width="120">{:L('ACTIONS')}</th>
					</tr>
				</tfoot>
			</table>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>